package com.example.demo1.inquiry.model.vo;


import com.example.demo1.wyy.util.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by Lx on 2018/7/3.
 */
@Data
public class InquiryQueryVo extends PageVO {
    private Long legalPersonId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @NotBlank(message="新增失败,询价结束日期不能为空")
    private Date createStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @NotNull(message="新增失败,询价结束日期不能为空")
    private Date createEndTime;
    private Long type;
    private Long supplierId;
    private String inquiryNo;
}
